<?php
class UserModel
{
	public function get()
	{
		$attributes = array(
			"AUTOCOMMIT", "ERRMODE", "CASE", "CLIENT_VERSION", "CONNECTION_STATUS",
			"ORACLE_NULLS", "PERSISTENT", "SERVER_INFO", "SERVER_VERSION",
		);

		foreach ($attributes as $val) {
			echo "PDO::ATTR_$val: <br>";
			echo YH::db()->getAttribute(constant("PDO::ATTR_$val")) . "<br>";
		}
	}
}
?>